<?php
require_once('classTin.php');
$t = new tin;
?>
<style>
#formtimkiem p { margin-left: 0px; margin-top: 8px; margin-bottom: 8px;}
#formtimkiem .tk {
	width: 220px;
	padding: 3px 0px;
	border: 1px solid #61FC58;
}
#formtimkiem {margin: 0px;}
.Ngay {
	width: 220px;
	padding: 3px 0px;
	border: 1px solid #55C8FF;
}
#formtimkiem #tungay {
	display: none;
}
#advance{position:absolute; top:100px; left:300px; height:150px;z-Index:1; display:none }
#formtimkiem #denngay {
	display: none;
}
</style>
<script>
$(document).ready(function() {
	$(".Ngay").datepicker();
});
</script>

<form id="formtimkiem" name="formtimkiem" method="get" action="">

  <p> 
    <input name="p" type="hidden" id="p" value="search" />
  <input name="tukhoa" id="tukhoa" onFocus="this.value=''" value="Từ khóa tìm kiếm ..." 
   onBlur="if (this.value=='') this.value='Từ khóa tìm kiếm ...'" type="text" class="tk" /> </p>
<p><select name="lstloaitin" id="lstloaitin" class="tk">
        <option value="-1">Chọn loại tour</option>
        <?php $lt = $t ->LoaiTin($lang, 1); ?>
        <?php while ($row_lt = mysql_fetch_assoc($lt)) { ?>
           <option value="<?=$row_lt['idLT'];?>"  > <?=$row_lt['Ten'];?>  </option>
        <?php }?>
     </select></p>
   <p>
     <input name="tungay" id="tungay" type="text" value="Từ ngày" class="tk" 
    onfocus="this.value=''" onblur="if (this.value=='') this.value='Từ ngày'"/>
   </p>
  <p> <input name="denngay" id="denngay" type="text" value="Đến ngày" class="tk" 
    onFocus="this.value=''" onBlur="if (this.value=='') this.value='Đến ngày'"/> </p>
   <p> <input type="image" name="btntk" id="btntk" src="images/icon_search.gif" /> </p>
</form>

